﻿<!DOCTYPE html>
<html>
<head>
    <title>ARRAYTOTEXT Function</title>
	<meta charset="utf-8" />
	<meta name="description" content="The ARRAYTOTEXT function is one of the text and data functions. Learn how to use the ARRAYTOTEXT function in Excel sheets and compatible files with ONLYOFFICE." />
	<link type="text/css" rel="stylesheet" href="../../../../../../common/main/resources/help/editor.css" />
	<link type="text/css" rel="stylesheet" href="../../images/sprite.css" />
	<script type="text/javascript" src="../callback.js"></script>
	<script type="text/javascript" src="../search/js/page-search.js"></script>
</head>
<body>
    <div class="mainpart">
        <div class="search-field">
            <input id="search" class="searchBar" placeholder="Search" type="text" onkeypress="doSearch(event)">
        </div>
        <h1>ARRAYTOTEXT Function</h1>
        <p>The <b>ARRAYTOTEXT</b> function is one of the <a href="../UsageInstructions/InsertFunction.htm#textdata" onclick="onhyperlinkclick(this)">text and data functions</a>. It is used to return a range of data as a text string.</p>
        <h3>Syntax</h3>
        <p><b><em>ARRAYTOTEXT(array, [format])</em></b></p> 
        <p>The <b>ARRAYTOTEXT</b> function has the following arguments:</p>       
        <table style="width: 40%">
            <tr>
                <th style="background-color: #f4f4f4" width="150ch"><b>Argument</b></th>
                <th style="background-color: #f4f4f4"><b>Description</b></th>
            </tr>
            <tr>
                <td><b><em>array</em></b></td>
                <td>The range of data to return as text.</td>
            </tr>
            <tr>
                <td><b><em>format</em></b></td>
                <td>An optional argument. The possible values are listed in the table below.</td>
            </tr>
        </table>
        <p>The <b><em>format</em></b> argument can be one of the following:</p>
        <table style="width: 40%">
            <tr>
                <th style="background-color: #f4f4f4"><b>Format</b></th>
                <th style="background-color: #f4f4f4"><b>Explanation</b></th>
            </tr>
            <tr>
                <td><b><em>0</em></b></td>
                <td>The values in the text string will be separated by comma (set by default).</td>
            </tr>
            <tr>
                <td><b><em>1</em></b></td>
                <td>To enclose each text value in double quotes (except for numbers, true/false values and errors), to use a semicolon as a delimiter and to enclose the whole text string in curly braces.</td>
            </tr>
        </table>
        <h3>Notes</h3>
        <p><a href="../UsageInstructions/InsertFunction.htm#applyfunction" onclick="onhyperlinkclick(this)">How to apply</a> the <b>ARRAYTOTEXT</b> function.</p>        
        <h3>Examples</h3>
        <p>The figure below displays the result returned by the <b>ARRAYTOTEXT</b> function.</p>
        <p><img alt="ARRAYTOTEXT Function" src="../images/arraytotext.png" /></p>
    </div>
</body>
</html>